package business.other.punish.impl;

import business.other.punish.TourPunishInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import other.domain.TourPunishInfo;
import other.domain.TourPunishInfoCriteria;
import other.domain.TourismCommittee;
import other.mapper.TourPunishInfoMapper;

import java.util.List;

/**
 * Created by SunZZ on 2016/6/17.
 */
@Service(value = "tourPunishService")
public class TourPunishInfoServiceImpl implements TourPunishInfoService{
    @Autowired
    TourPunishInfoMapper tourPunishInfoMapper;
    @Override
    public List<TourPunishInfo> getTourPunishInfo() {
        TourPunishInfoCriteria criteria = new TourPunishInfoCriteria();
        criteria.createCriteria().getAllCriteria();
        return tourPunishInfoMapper.selectByExample(criteria);
    }
}
